package com.icss.dao;



import com.icss.entity.Userr;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

public interface UserDao extends JpaRepository<Userr, Integer>, JpaSpecificationExecutor<Userr> {

@Query("from Userr WHERE name=?1")
    Userr findUserrByName(String name);


}
